#include <stdio.h>


int main(){
	enum week{ Mon = 1, Tus, Wes, Thu, Fri, Sat, Sun } day;
	scanf("%d", &day);
	switch(day){
		case Mon:puts("monday"); break;
		case Tus:puts("tuesday"); break;
		case Wes:puts("wednesday"); break;
		case Thu:puts("thursday"); break;
		case Fri:puts("friday"); break;
		case Sat:puts("saturday"); break;
		case Sun:puts("sunday"); break;
	}
	
	return 0;
}
